using UnityEngine;
using System.Collections;

public class cabin : MonoBehaviour {
	
	#region Variables
	private static Vector3 location;
	public static Vector3 Location{
		get {return location;}
	}

	#endregion
	
	// Use this for initialization
	void Start () {
		location = Vector3.zero;
	}
	
	// Update is called once per frame
	void Update () {
		
		//Counter Rotates the cars based on speed of the wheels rotation
		transform.Rotate(WheelRotation.Rotation*-1); 
		location = transform.position;
		
	}

	
}
